package com.module.flowLine;

import java.util.List;
import com.module.flowLine.manager.SktExceptionManager;
import com.module.flowLine.vo.SktException;

public class SktExceptionService {
	/**
	 * 根据KEY-VALUE获取列表
	 * @param key
	 * @param value
	 * @return
	 * @throws Exception
	 */
	public List getFlowLineExceptionListByKey(String key ,String value) throws Exception{
		SktExceptionManager manager = SktExceptionManager.getInstance();
		List list = manager.getFlowLineExceptionList(key, value);
		return list;
	}
	
	/**
	 * 根据条件查询
	 * @param vo
	 * @return
	 * @throws Exception
	 */
	public List getFlowLineExceptionList(SktException vo) throws Exception{
		SktExceptionManager manager = SktExceptionManager.getInstance();
		List list = manager.getFlowLineExceptionList(vo);
		return list;
	}
}
